package com.net.xpay.core.dao;

import com.net.xpay.core.domain.TaokeDetectionBatch;
import com.net.xpay.core.model.TaokeDetectionBatchSearchModel;
import com.net.common.dao.Page;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataShard;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataShard("")
@Repository
public interface TaokeDetectionBatchMapper extends PagedMapper<Long, TaokeDetectionBatch> {
    List<TaokeDetectionBatch> search(@Param("searchModel") TaokeDetectionBatchSearchModel searchModel, @Param("page") Page page);

    long searchCount(@Param("searchModel") TaokeDetectionBatchSearchModel searchModel);
}
